home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15513 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.compuserve.com!newsmaster
  2. From: 101611.2710@compuserve.com (Ralf Graf)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Q: Access DS in Vis. C++ 2.0? ***Please*** help!
  5. Date: Tue, 02 Apr 1996 06:26:10 -0500
  6. Organization: CompuServe Incorporated
  7. Message-ID: <S7QYxM8v9DiP090yn@compuserve.com>
  8. References: <315A2548.724E@sunpool.cs.uni-magdeburg.de>
  9. Reply-To: 101611.2710@compuserve.com
  10. NNTP-Posting-Host: hd77-113.compuserve.com
  11.  
  12. In article <315A2548.724E@sunpool.cs.uni-magdeburg.de>, Uwe Ilgenstein wrote:
  13. >Hi:
  14. >  How can I access the DS register in Visual C++ 2.0?
  15. >I have this piece of software that was originally compiled
  16. >with Borland C++ 3.4 and that uses code like:
  17. >
  18. >   register int dataSeg;
  19. >   void *newAddress;
  20. >   dataSeg = _DS;
  21. >   _DS = currentBlock;
  22. >   newAddress = (void *) LocalAlloc(LPTR, size);
  23. >   _DS = dataSeg;
  24. >
  25. >Any help, hints, or suggestions are greatly appreciated.
  26. >
  27. >Thanks,
  28. >Thorsten
  29. >
  30. >P.S. Please reply via e-mail, most groups on my nttp host have a one day
  31. >expire and articles often get lost!
  32.  
  33. What has this thing to do on comp.lang.c++?
  34. Try one of the windows or ms-dos (uurrrggghhhh) newsgroups!
  35.  
  36. Greetings
  37.  
  38. Ralf Graf
  39. *****************************************
  40. * Using OS/2 Warp & Linux 1.2.13        *
  41. * Location: Duesseldorf / Germany       *
  42. * e-mail:   101611.2710@compuserve.com  *
  43. *****************************************
  44.